<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Molly Note - 注册</title>
    <link rel="stylesheet" href="style/register.css">
</head>
<body>
    <div class="register-container">
        <h1 class="register-title">Molly Note 注册</h1>
        <form id="registerForm">
            <div class="form-group">
                <label for="username">用户名</label>
                <input type="text" id="username" class="form-control" placeholder="3-20位字母/数字/下划线" required>
            </div>
            <div class="form-group">
                <label for="password">密码</label>
                <input type="password" id="password" class="form-control" placeholder="至少6位字符" required>
            </div>
            <div class="form-group">
                <label for="confirmPassword">确认密码</label>
                <input type="password" id="confirmPassword" class="form-control" placeholder="再次输入密码" required>
            </div>
            <button type="submit" class="btn">注册</button>
        </form>
        <p class="login-link">已有账号？<a href="login.html" id="loginLink">登录</a></p>
        <div class="footer">
            © 2025 Molly Note - 智能笔记助手
        </div>
    </div>
    <script src="tools/register.js"></script>
</body>
</html>
